//package cn.mldn.mldncloud.consumer.config;
//
//import org.springframework.boot.web.servlet.FilterRegistrationBean;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//import cn.mldn.mldncloud.consumer.filter.PathFilter;
//
//@Configuration
//public class PathConfig {
//	@Bean
//    public FilterRegistrationBean pathFilter() {
//        FilterRegistrationBean registration = new FilterRegistrationBean();
//        registration.setFilter(new PathFilter());
//        registration.addUrlPatterns("/*");
//        registration.setName("PathFilter");
//        registration.setOrder(1);
//        return registration;
//    }
//}
